package com.lyk.coursearrange.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.lyk.coursearrange.entity.Job;
import com.lyk.coursearrange.entity.Teacher;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lequal
 * @since 2020-03-13
 */
public interface TeacherService extends IService<Teacher> {

    Teacher teacherLogin(String username, String password);


    List<Teacher> queryTeacher(Map<String, String> param);

    Long teachercount(Map<String, String> param);

    String getJobName(Long jobtitle);

    List<Job> queryTeacherJob();

    boolean updateTeacher(Teacher teacher);

    boolean addTeacher(Teacher teacher);
}
